package com.quinn.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 周汉坤
 */
@Data
@NoArgsConstructor
public class Dept {

    @ExcelProperty("部门代码")
    private String deptCode;

    @ExcelProperty("部门名称")
    private String deptName;

    @ExcelProperty("父部门代码")
    private String parentDeptCode;

    @ExcelProperty("层级部门")
    private String targetDeptName;

    public Dept(String deptCode, String deptName, String parentDeptCode) {
        this.deptCode = deptCode;
        this.deptName = deptName;
        this.parentDeptCode = parentDeptCode;
    }
}
